PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: edjack on April 21, 2022, 07:45:01 AM

Title: FTP failure
Post by: edjack on April 21, 2022, 07:45:01 AM
About 2 weeks ago our FTP file operations stopped working from within pxplus.
We create a batch file and execute ftp using an INVOKE command.
The file gets uploaded to the ftp site, but is always empty.
If we manually execute the ftp batch file outside of the pxplus environment, it works.
This is probably not a pxplus problem, but what could be causing this?

Title: Re: FTP failure
Post by: Mike King on April 22, 2022, 07:39:16 AM
Ed

Check out this link which describes some of the possible causes.

https://stackoverflow.com/questions/20700425/ftp-file-upload-doesnt-work-uploads-empty-files
Title: Re: FTP failure
Post by: Mike King on April 25, 2022, 08:50:59 AM
Ed,

Rather than invoking ftp, have you considered using the built-in FTP send and receive utilities provided with PxPlus.