> Tech > Figures 8, 9 & 10

Figures 8, 9 & 10

Tech - Par Renaud ROSSET - Publié le 24 juin 2010

Figure 8 : Utiliser CPYTOPCD pour la conversion de données EBCDIC/ASCII

ftp> syscmd cpytopcd fromfile(mylib/myfile) toflr(myflr) todoc(myfile.txt) +
replace(*yes)
(Convert the file to an ASCII file and place it in a shared folder)
ftp> cd mypcflr
(Change to the appropriate PC folder)
ftp> NA 1
(Switch to Name Format 1)

Figures 8, 9 & 10

ftp> put /qdls/myflr/myfile.txt myfile.txt
(Send the converted file)
ftp> quit
(End FTP Session)

Figure 9 : Obtenir une liste de fichiers à  partir d’un dossier distant

ftp> syscmd chgcurlib rmtlsts
(Changes the current library to RMTLSTS)
ftp> ls qgpl (disk
(Generate the listing into the LSOUTPUT file)
ftp> dir qgpl (disk
(Generate the listing into the DIROUTPUT file)
ftp> quit
(End FTP session)

Figure 10 : Utiliser la commande NOOP pour confirmer une
connexion FTP

ftp> cd myrmtlib
(Change to the required remote library)
ftp> lcd mylib
(Change to the required local library)
ftp> Noop
(No Operation; returns an OK if the connection is good)
ftp> quit
(End FTP session)

Téléchargez cette ressource

Sécuriser Microsoft 365 avec une approche Zero-Trust

Sécuriser Microsoft 365 avec une approche Zero-Trust

Découvrez comment renforcer la cyber-résilience de Microsoft 365 grâce à une approche Zero-Trust, une administration granulaire et une automatisation avancée. La technologie Virtual Tenant de CoreView permet de sécuriser et simplifier la gestion des environnements complexes, tout en complétant vos stratégies IAM, y compris dans les secteurs réglementés.

Les plus consultés sur iTPro.fr

A lire aussi sur le site

À la une de la chaîne Tech