BBC BASIC for Windows
Programming >> Communication and Input/Output >> Uploadftp: Cannot open FTP Connection
http://bb4w.conforums.com/index.cgi?board=communication&action=display&num=1401053886
Uploadftp: Cannot open FTP Connection
Post by yshua on May 25th, 2014, 8:07pm
Dear Readers:
Tried to fire up uploadftp.bbc program on Windows 7 pc, uploading one file to Windows 8.1 server, but possibly protocol has changed after over a year?! FTP port is still 21. Any ideas?
Thanks always,
Yshua
Re: Uploadftp: Cannot open FTP Connection
Post by rtr on May 25th, 2014, 9:16pm
on May 25th, 2014, 8:07pm, yshua wrote:
One possibility is that you need to specify the _INTERNET_FLAG_PASSIVE flag. Also, note the comment about the different OPEN_TYPE_ values:
http://bb4w.wikispaces.com/Uploading+files+to+an+FTP+server
Try different combinations of flags; hopefully one will work.
Richard.
Re: Uploadftp: Cannot open FTP Connection
Post by yshua on May 27th, 2014, 11:33am
Dear Richard:
Thanks for supplying info. Now am doing my part of the deal.... Am doing lots of research on problems connecting with ftp which will probably take about a week or two! But you gave me the push in the right direction. Will let you know what the solution was when it happens.
Have a great day!
Yshua
Re: Uploadftp: Cannot open FTP Connection
Post by KenDown on Nov 19th, 2015, 07:35am
There is also the delightful problem that servers can vary. I use the uploadftp routines to automatically upload stuff and most of the time it works just fine - and then suddenly, for no reason that I can discover, it stops working. I resort to a commercial ftp program to upload the necessary files by hand, but after a day or so I can upload automatically again.
It's driving me mad.