All of my SFTP jobs stopped working after 7.7.4 update - VisualCron - Forum

Community forum

ApolloMD
2015-08-20T20:05:39Z
🤬 😢 😠
Michael Tebbs
2015-08-21T18:18:09Z
You might check the download task's setting under "Create relative server folder structure." We had a few jobs that had that checked, but worked fine (i.e. didn't recreate the server structure) before 7.7.4. Looks like 7.7.4 actually made that option function.
ErikC
2015-08-22T08:48:14Z
Originally Posted by: Carl Worley 

You might check the download task's setting under "Create relative server folder structure." We had a few jobs that had that checked, but worked fine (i.e. didn't recreate the server structure) before 7.7.4. Looks like 7.7.4 actually made that option function.



I had the same, all my download tasks have this option set, so I had to remove them all.

Regards
Erik
Uses Visualcron since 2006.
ErikC
2015-08-23T17:54:10Z
Here is a quick API method to remove all the checks in a few seconds:


            for (int j = 0; j < s.Jobs.GetAll().Count; j++)
            {
                JobClass job = s.Jobs.GetAll()[j];

                for (int i = 0; i < job.Tasks.Count; i++)
                {
                    TaskClass task = job.Tasks[i];
                    bool change = false;
                    if (task.FTP != null)
                    {
                        foreach (FTPCommandClass ftp in task.FTP.FTPCommands)
                        {
                            if (ftp.CommandType == FTPCommandClass.FTPCommandT.Download)
                            {
                                ftp.Download.CreateRelativeFolderStructure = false;
                                change = true;
                            }
                        }
                        if (change)
                        {
                            job.UpdateTask(task);                     
                        }
                    }
                    if (change)
                    {
                        s.Jobs.Update(job);
                    }
                }

Regards
Erik
Uses Visualcron since 2006.
Support
2015-08-24T08:06:11Z
Hi all and thanks for all the feedback!

We have not changed the default setting however made significant changes to the Download, Rename, Move, Delete and List commands regarding FTP/SFTP. The changes related to this included some optimizations and fixes so that Remote file filter should work properly.

Right now I cannot answer which exact change that made this "work" but this default setting has always been "true".

Sorry for any trouble this may have caused you.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
twagner
2015-08-24T14:27:59Z
7.74 broke all my FTP jobs to the Iseries in that the last "/" is missing from the path to GET the file(s). I had to roll back to 7.71.
It no longer parses the path correctly.

For Example on the FTP site I am looking in /Home/Folder/Folder for any zip files.

FYI, I don't have the "create relative server folder structure" check and never have had.

Job log posted below.

220-QTCP at FTPServer.company.com.
220 Connection will close if idle more than 5 minutes.

USER PCUSER
331 Enter password.

PASS ********
230 PCUSER logged on.

FEAT
211-Feature listing follows:
AUTH TLS
CCC
PBSZ
PROT
211 End of feature listing.

SYST
215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".

PWD
257 "QGPL" is current library.

PWD
257 "QGPL" is current library.

PWD
257 "QGPL" is current library.

CWD /home/Folder/Folder
250-NAMEFMT set to 1.
250 "/home/Folder/Folder" is current directory.

PWD
257 "/home/Folder/Folder" is current directory.

TYPE A
200 Representation type is ASCII nonprint.

PASV
227 Entering Passive Mode (172,0,0,0,248,203).

LIST
125 List started.

250 List completed.

TYPE I
200 Representation type is binary IMAGE.

PASV
227 Entering Passive Mode (172,0,0,0,249,190).

RETR /home/Folder/FolderFile.zip
550 Unable to find file /Home/FolderFile.zip
Support
2015-08-24T15:02:29Z
Originally Posted by: twagner 

7.74 broke all my FTP jobs to the Iseries in that the last "/" is missing from the path to GET the file(s). I had to roll back to 7.71.
It no longer parses the path correctly.

For Example on the FTP site I am looking in /Home/Folder/Folder for any zip files.

FYI, I don't have the "create relative server folder structure" check and never have had.

Job log posted below.

220-QTCP at FTPServer.company.com.
220 Connection will close if idle more than 5 minutes.

USER PCUSER
331 Enter password.

PASS ********
230 PCUSER logged on.

FEAT
211-Feature listing follows:
AUTH TLS
CCC
PBSZ
PROT
211 End of feature listing.

SYST
215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".

PWD
257 "QGPL" is current library.

PWD
257 "QGPL" is current library.

PWD
257 "QGPL" is current library.

CWD /home/Folder/Folder
250-NAMEFMT set to 1.
250 "/home/Folder/Folder" is current directory.

PWD
257 "/home/Folder/Folder" is current directory.

TYPE A
200 Representation type is ASCII nonprint.

PASV
227 Entering Passive Mode (172,0,0,0,248,203).

LIST
125 List started.

250 List completed.

TYPE I
200 Representation type is binary IMAGE.

PASV
227 Entering Passive Mode (172,0,0,0,249,190).

RETR /home/Folder/FolderFile.zip
550 Unable to find file /Home/FolderFile.zip



Please add a screenshot here or send to support@visualcron.com of:

1. task settings
2. folder view in SFTP explorer
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
twagner
2015-08-24T15:15:47Z
I have submitted the screenshots to support
Scroll to Top